package xyz.iguilty.workflow.core.service;

import xyz.iguilty.workflow.model.BusinessModel;

public interface IProcessService<Model extends BusinessModel,ID> {
    /**
     * 保存业务表单
     */
    void saveBusinessForm(Model model);
    /**
     * 获取明细
     */
    Model getDetailById(ID businessKey);

    /**
     * 创建流程
     * @param model
     */
    void startProcess(Model model);
}
